package com.javait.day8;

import java.util.Scanner;

public class Demo3 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入字符串;");
        String a=sc.next();
        String b=a.replace("TMD","***");
        System.out.println(b);
    }
}
